<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<title>语言包管理</title>
<link type="text/css" rel="stylesheet" href="main.css"/>
<script src="jquery.js" language="javascript" type="text/javascript"></script>
<script src="base.js" language="javascript" type="text/javascript"></script>

<style type="text/css">
.linerow { border-bottom: 1px solid #CBD8AC; }
td { padding-left:5px; }
</style>
</head>
<body>
<div class="mtitle">
  <div class="lbox">语言包管理器</div>
</div>

<table _dlist="line" class="tlist">
 <tr>
      <td class='linerow' colspan='3' height="28" bgcolor='#FAFEEF'>
      	<div style='float:left'>
      	<b>
      		当前位置：<?php echo $langpostion; ?> > <?php echo $langfile; ?>      	</b>        </div>
      	<div style='float:right;padding-right:10px'>
   <?php
while(list($langvalue,$langname) = each($lang_map_arr)) { 
   ?>
<a href='?lang=<?php echo $langvalue;?>'>[<u><?php echo $langname; ?></u>]</a>

<?php } ?>
      		       </div>      </td>
   </tr>
   <tr>
      <td class='linerow' colspan='3' height="28" bgcolor='#FAFEEF'>
      	<div style='float:left'>
      
      		语言包文件列表：            </div>
      	<div style='float:left;padding-right:10px'>
<a href='?langfile=<?php echo $lang.".utf8.php"; ?>&lang=<?php echo $lang; ?>'><?php echo $lang.".utf8.php"; ?></a>[<a href="?action=edit&filename=<?php echo $lang.".utf8.php"; ?>">修改</a>][模板语言包] | <a href='?langfile=<?php echo $lang.".member.utf8.php"; ?>&lang=<?php echo $lang; ?>'><?php echo $lang.".member.utf8.php"; ?></a>[<a href="?action=edit&filename=<?php echo $lang.".member.utf8.php"; ?>">修改</a>][会员中心语言包]      		       </div>      </td>
   </tr>
   <tr height="26" align="center" bgcolor="#F7FAF3">
     <td width="32%" class='linerow'><div align="left"><strong>语言文本</strong></div></td>
     <td width="24%" class='linerow'><div align="left"><strong>模板中调用代码</strong></div></td>
     <td width="44%" class='linerow'><div align="center"><strong>Plus模板中调用代码</strong></div></td>
   </tr>
  
   <?php
   if($lang=="gb2312"){
while(list($val,$txtname) = each($langArr_gb2312)) { 
   ?>
   <tr height="26" bgcolor='#FFFFFF' onMouseMove="javascript:this.bgColor='#F9FBF0';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
	  <td class='linerow'>
      <?php echo $txtname; ?></td>
		<td class='linerow'>
				 <?php echo "[field:lang.".$val."/]"; ?> 	</td>
		<td align='center' class='linerow'>
					
					<?php  echo '&lt;?php '."echo GetLang('".$val."')"."; ?>"; ?>
					</td>
	</tr>
	<?php } }?>
   <?php
   if($lang=="en"){
while(list($val,$txtname) = each($langArr_en)) { 
   ?>
   <tr height="26" bgcolor='#FFFFFF' onMouseMove="javascript:this.bgColor='#F9FBF0';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
	  <td class='linerow'>
      <?php echo $txtname; ?></td>
		<td class='linerow'>
				 <?php echo "[field:lang.".$val."/]"; ?> 	</td>
		<td align='center' class='linerow'>
					
					<?php  echo '&lt;?php '."echo GetLang('".$val."')"."; ?>"; ?>
					</td>
	</tr>
	<?php } }?>

   <?php
   if($lang=="big5"){
while(list($val,$txtname) = each($langArr_big5)) { 
   ?>
   <tr height="26" bgcolor='#FFFFFF' onMouseMove="javascript:this.bgColor='#F9FBF0';" onMouseOut="javascript:this.bgColor='#FFFFFF';">
	  <td class='linerow'>
      <?php echo $txtname; ?></td>
		<td class='linerow'>
				 <?php echo "[field:lang.".$val."/]"; ?> 	</td>
		<td align='center' class='linerow'>
					
					<?php  echo '&lt;?php '."echo GetLang('".$val."')"."; ?>"; ?>
					</td>
	</tr>
	<?php } }?>
</table>
</body>
</html>
